package com.xd.core.company.service.impl;

import com.xd.core.company.entity.CompanyContract;
import com.xd.core.company.mapper.CompanyContractMapper;
import com.xd.core.company.service.ICompanyContractService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 合同表--公司之间签署 服务实现类
 * </p>
 *
 * @author ZX
 * @since 2025-03-16
 */
@Service
public class CompanyContractServiceImpl extends ServiceImpl<CompanyContractMapper, CompanyContract> implements ICompanyContractService {
    @Autowired
    private CompanyContractMapper companyContractMapper;

    @Override
    public List<CompanyContract> getCompanyContract(Integer id) {
        return companyContractMapper.getCompanyContract(id);
    }
}
